package org.easydev.base.webbase.exception;

import org.springframework.http.HttpStatus;

public abstract class BizExceptionMsg {

    private String errorCode;

    private String message;

    private HttpStatus httpStatus;

    public BizExceptionMsg(String errorCode, String message) {
        this.errorCode = errorCode;
        this.message = message;
    }

    public BizExceptionMsg(String errorCode, String message, HttpStatus httpStatus) {
        this.errorCode = errorCode;
        this.message = message;
        this.httpStatus = httpStatus;
    }

    public String getErrorCode() {
        return this.errorCode;
    }

    public String getMessage() {
        return this.message;
    }

    public HttpStatus getHttpStatus() {
        return this.httpStatus;
    }
}
